"""
@File    : order.py
@Author  : WorldWind(1772830365@qq.com)
@Time    : 2025/7/14
@Address : ChangSha - BoWeiFeng
@Date    : 2025/7/14 下午3:24
"""
import pymysql
from highLevelPython.July14_class_code.python_package_pay.pay import pay
from highLevelPython.July14_class_code.python_package_pay.calc import Calc


class order:
    def makeOrder(self, goodName, goodCount):
        # 使用mysql把订单数据写入订单数据库中
        # 使用调用支付模块的微信支付/支付宝支付
        p = pay()
        result = p.weixinPay(100)
        if result == 'success':
            return result


o = order()
print(o.makeOrder('111', 222))

if __name__ == '__main__':
    c = Calc()
    print(__name__)
